package com.mall.book.mappers;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mall.book.entity.po.OrderInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * Created by Dizziness on 2022/3/22 20:06
 */
public interface OrderInfoMapper extends BaseMapper<OrderInfo> {
    Collection<OrderInfo> selectPageEvenDeleted(@Param("selector") Map<String, String> selector, @Param("current") long current, @Param("size") long size);

    int selectTotal();

    OrderInfo selectOneEvenDeleted(@Param("id") String id);

    List<OrderInfo> selectUserOrdersEvenDeleted(@Param("account") String user_account);
}
